package com.hue.springcloud.dao;

import com.hue.springcloud.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface PaymentDao {
    //根据id查询
    @Select("select * from payment where id=#{id}")
    public Payment findById(long id);
}
